#include<iostream>
#include<cmath>
#include<algorithm>
#include<cstdio>
using namespace std;
int cmp(int a,int b){
    return a>b;
}
int main(){
    int arr[5];
    while(cin>>arr[0]>>arr[1]>>arr[2]){
        sort(arr,arr+3,cmp);
        cout<<arr[0]<<endl;
    }
    return  0;
}
